import Home from "../views/common/Home.vue";
export default
{
    path: '/auth',
    component:Home,
    children:[
        {
            path:'/user',
            component:resolve => require(['../views/page/auth/user/list.vue'],resolve),
            meta: {title:'用户管理'}
        },
        {
            path: '/roles',
            component: resolve => require(['../views/page/auth/role/list.vue'], resolve),
            meta: { title: '角色管理',roles: true}
        },
        {
            path: '/menus',
                component: resolve => require(['../views/page/auth/menu/list.vue'], resolve),
            meta: { title: '菜单管理' }
        },
        {
            path: '/dicts',
                component: resolve => require(['../views/page/auth/dict/list.vue'], resolve),
            meta: { title: '字典管理' }
        },
        {
            path: '/organs',
                component: resolve => require(['../views/page/auth/organ/list.vue'], resolve),
            meta: { title: '机构管理' }
        },
        {
            path: '/notice',
                component: resolve => require(['../views/page/auth/notice/list.vue'], resolve),
            meta: { title: '通知公告' }
        }
    ]

}
